100
How can I remove a bookmark

oDCOCX_Exontrol1:[Bookmark,2] := true
oDCOCX_Exontrol1:[Bookmark,2] := false
oDCOCX_Exontrol1:BookmarkWidth := 16

99
How can I remove all bookmarks

oDCOCX_Exontrol1:[Bookmark,2] := true
oDCOCX_Exontrol1:[Bookmark,4] := true
oDCOCX_Exontrol1:BookmarkWidth := 16
oDCOCX_Exontrol1:ClearBookmarks()

98
How can I add a bookmark


oDCOCX_Exontrol1:[Bookmark,2] := true
oDCOCX_Exontrol1:[Bookmark,4] := true
oDCOCX_Exontrol1:BookmarkWidth := 16

97
How can I change the format to display the numbers


oDCOCX_Exontrol1:FormatNumbers := "<b><fgcolor=FF0000> </fgcolor></b>"
oDCOCX_Exontrol1:InsertText("Just numbers: 12 22\r\n",1)

96
Is there any option to change the color for the line that displays the cursor or the caret


oDCOCX_Exontrol1:BackColorCaretLine := RGB(255,0,0)

95
Can I display the lines using an alternate color


oDCOCX_Exontrol1:BackColorAlternate := RGB(255,0,0)

94
How can I disable or enable displaying the Replace dialog

oDCOCX_Exontrol1:AllowReplace := false

93
Does your control support incrementasl search


oDCOCX_Exontrol1:AllowIncrementalSearch := true

92
How can I programmatically find or search for a word only

oDCOCX_Exontrol1:HideSelection := false
oDCOCX_Exontrol1:Find("IDD_DIALOG_INSTALL",exMatchWholeWordOnly)

91
How can I programmatically find or search for a string


oDCOCX_Exontrol1:HideSelection := false
oDCOCX_Exontrol1:Find("public",exSearchDown)

90
How can I disable or enabled the Find dialog

oDCOCX_Exontrol1:AllowFind := false

89
How can I enable my button as the control can perform an REDO operation

local var_CanRedo as USUAL

var_CanRedo := oDCOCX_Exontrol1:CanRedo

88
How can I enable my button as the control can perform an UNDO operation
local var_CanUndo as USUAL

var_CanUndo := oDCOCX_Exontrol1:CanUndo

87
How can I disable or enable the undo-redo feature


oDCOCX_Exontrol1:AllowUndoRedo := false

86
How can I change the color for the border where the line numbers are displayed


oDCOCX_Exontrol1:LineNumberForeColor := RGB(255,0,0)
oDCOCX_Exontrol1:LineNumberBackColor := RGB(0,0,255)
oDCOCX_Exontrol1:LineNumberWidth := 32

85
How can I change the color of the bookmark border


oDCOCX_Exontrol1:BookMarkBackColor := RGB(255,0,0)
oDCOCX_Exontrol1:BookMarkBackColor2 := RGB(255,0,0)
oDCOCX_Exontrol1:BookmarkWidth := 16

84
How can I refresh the control


oDCOCX_Exontrol1:AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:Refresh()

83
How can I change the size of the tabs characters


oDCOCX_Exontrol1:TabLength := 8

82
I've seen that if I press CTRL + ( I get the matching braket. How can I extend this

oDCOCX_Exontrol1:OpenBrackets := "<"
oDCOCX_Exontrol1:CloseBrackets := ">"

81
How can I hide the selection

oDCOCX_Exontrol1:DisplaySelection := false

80
How can I display both scroll bars


oDCOCX_Exontrol1:ScrollBars := exBoth

79
How can I display only the vertical scroll bar


oDCOCX_Exontrol1:ScrollBars := exVertical

78
How can I display only the horizontal scroll bar


oDCOCX_Exontrol1:ScrollBars := exHorizontal

77
How can I hide the control's scroll bars


oDCOCX_Exontrol1:ScrollBars := exNoScroll

76
How can I insert at specified position a new line


oDCOCX_Exontrol1:InsertText("newline\r\n",2)
oDCOCX_Exontrol1:[BackColorLine,2] := RGB(255,0,0)

75
How can I remove or delete all lines

oDCOCX_Exontrol1:Text := ""

74
How can I remove or delete a line


oDCOCX_Exontrol1:DeleteLine(1)

73
How do I change the character where the caret or the cursor is displayed

oDCOCX_Exontrol1:CaretPos := 10

72
How do I change the line where the caret or the cursor is displayed

oDCOCX_Exontrol1:CaretLine := 10

71
How do I replace a line


oDCOCX_Exontrol1:[TextLine,1] := "new line"

70
How do I get a line

oDCOCX_Exontrol1:[TextLine,1] := "new line"

69
How do I get the number of lines in the control
local var_Count as USUAL

var_Count := oDCOCX_Exontrol1:Count

68
How do I get the point where the selection starts


oDCOCX_Exontrol1:SelStart := 4
oDCOCX_Exontrol1:SelLength := 10
oDCOCX_Exontrol1:HideSelection := false

67
How do I get the number of selected characters


oDCOCX_Exontrol1:SelLength := 10
oDCOCX_Exontrol1:HideSelection := false

66
How can I get the selected text
local var_SelText as USUAL

oDCOCX_Exontrol1:SelLength := 10
var_SelText := oDCOCX_Exontrol1:SelText

65
How can I replace the selected text


oDCOCX_Exontrol1:SelLength := 10
oDCOCX_Exontrol1:SelText := "-new selection-"

64
How can I avoid changing the colors for keywords or expressions


oDCOCX_Exontrol1:ApplyColors := false
oDCOCX_Exontrol1:AddKeyword("<fgcolor=FF0000><b>class</b></fgcolor>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:Refresh()

63
How can I display HTML text


oDCOCX_Exontrol1:EditType := exHTML
oDCOCX_Exontrol1:Text := "<b>just a HTML text</b>\r\nnew <s>line</s>"

62
How can I use it a a simple edit control, without highlighting


oDCOCX_Exontrol1:EditType := exStandard

61
How can I save the text to a file


60
How can I save the text to a file


59
How can I load text from a file


58
How can I load text from a file


57
How can I display only a single line

oDCOCX_Exontrol1:MultiLine := false

56
How can I disable displaying multiple lines

oDCOCX_Exontrol1:MultiLine := false

55
How can change the color for selected text


oDCOCX_Exontrol1:HideSelection := false
oDCOCX_Exontrol1:SelLength := 10
oDCOCX_Exontrol1:SelBackColor := RGB(255,0,0)

54
How can change the color for selected text


oDCOCX_Exontrol1:HideSelection := false
oDCOCX_Exontrol1:SelLength := 10
oDCOCX_Exontrol1:SelForeColor := RGB(255,0,0)

53
How can I disable displaying the control's context menu

oDCOCX_Exontrol1:AllowContextMenu := false

52
Is there any option to hide the caret or the cursor

oDCOCX_Exontrol1:ShowCaret := false

51
How can still display the selected text when the control loses the focus


oDCOCX_Exontrol1:HideSelection := false
oDCOCX_Exontrol1:SelLength := 10

50
How can I disable adding new TAB characters when the user enters a new line

oDCOCX_Exontrol1:AutoIndent := false

49
How can I disable using the Tab key

oDCOCX_Exontrol1:UseTabKey := false

48
How can I hide the number of each line

oDCOCX_Exontrol1:LineNumberWidth := 0

47
How can I display or show the number of each line


oDCOCX_Exontrol1:LineNumberWidth := 32

46
How can I clear the text

oDCOCX_Exontrol1:Text := ""

45
How can I specify the text being displayed in the control


oDCOCX_Exontrol1:Text := "new line\r\nnew line"

44
How can I hide the bookmark border

oDCOCX_Exontrol1:BookmarkWidth := 0

43
How can I show the bookmark border


oDCOCX_Exontrol1:BookmarkWidth := 16

42
How do I lock the control


oDCOCX_Exontrol1:Locked := true

41
How do I disable or enable the control

oDCOCX_Exontrol1:Enabled := false

40
How can I change the visual appearance of the splitter


oDCOCX_Exontrol1:AllowSplitter := exBothSplitter
oDCOCX_Exontrol1:SplitPaneWidth := 128
oDCOCX_Exontrol1:SplitPaneHeight := 128
oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:VisualAppearance:Add(2,"c:\exontrol\images\pushed.ebn")
oDCOCX_Exontrol1:[Background,exHSplitterApp] := 0x1000000
oDCOCX_Exontrol1:[Background,exVSplitterApp] := 0x1000000
oDCOCX_Exontrol1:[Background,exISplitterApp] := 0x2000000

39
How can I change the visual appearance of the vertical splitter


oDCOCX_Exontrol1:AllowSplitter := exBothSplitter
oDCOCX_Exontrol1:SplitPaneWidth := 128
oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:[Background,exHSplitterApp] := 0x1000000

38
How can I change the visual appearance of the horizontal splitter


oDCOCX_Exontrol1:AllowSplitter := exBothSplitter
oDCOCX_Exontrol1:SplitPaneHeight := 128
oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:[Background,exVSplitterApp] := 0x1000000

37
How do I change the visual aspect for thumb parts in the scroll bars, using EBN


oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:VisualAppearance:Add(2,"c:\exontrol\images\pushed.ebn")
oDCOCX_Exontrol1:VisualAppearance:Add(3,"c:\exontrol\images\hot.ebn")
oDCOCX_Exontrol1:[Background,exHSThumb] := 0x1000000
oDCOCX_Exontrol1:[Background,exHSThumbP] := 0x2000000
oDCOCX_Exontrol1:[Background,exHSThumbH] := 0x3000000
oDCOCX_Exontrol1:[Background,exVSThumb] := 0x1000000
oDCOCX_Exontrol1:[Background,exVSThumbP] := 0x2000000
oDCOCX_Exontrol1:[Background,exVSThumbH] := 0x3000000

36
How do I change the visual aspect only for the thumb in the scroll bar, using EBN


oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:VisualAppearance:Add(2,"c:\exontrol\images\pushed.ebn")
oDCOCX_Exontrol1:VisualAppearance:Add(3,"c:\exontrol\images\hot.ebn")
oDCOCX_Exontrol1:[Background,exHSThumb] := 0x1000000
oDCOCX_Exontrol1:[Background,exHSThumbP] := 0x2000000
oDCOCX_Exontrol1:[Background,exHSThumbH] := 0x3000000
oDCOCX_Exontrol1:[ScrollThumbSize,exHScroll] := 96

35
I've seen that you can change the visual appearance for the scroll bar. How can I do that


oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:VisualAppearance:Add(2,"c:\exontrol\images\pushed.ebn")
oDCOCX_Exontrol1:VisualAppearance:Add(3,"c:\exontrol\images\hot.ebn")
oDCOCX_Exontrol1:[Background,exSBtn] := 0x1000000
oDCOCX_Exontrol1:[Background,exSBtnP] := 0x2000000
oDCOCX_Exontrol1:[Background,exSBtnH] := 0x3000000
oDCOCX_Exontrol1:[Background,exHSBack] := RGB(240,240,240)
oDCOCX_Exontrol1:[Background,exVSBack] := RGB(240,240,240)
oDCOCX_Exontrol1:[Background,exSizeGrip] := RGB(240,240,240)

34
Can I change the forecolor for the tooltip


oDCOCX_Exontrol1:ToolTipDelay := 1
oDCOCX_Exontrol1:ToolTipWidth := 364
oDCOCX_Exontrol1:[Background,exToolTipForeColor] := RGB(255,0,0)
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:Refresh()

33
Can I change the background color for the tooltip


oDCOCX_Exontrol1:ToolTipDelay := 1
oDCOCX_Exontrol1:ToolTipWidth := 364
oDCOCX_Exontrol1:[Background,exToolTipBackColor] := RGB(255,0,0)
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:Refresh()

32
Can I change the default border of the tooltip, using your EBN files


oDCOCX_Exontrol1:ToolTipDelay := 1
oDCOCX_Exontrol1:ToolTipWidth := 364
oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:[Background,exToolTipAppearance] := 0x1000000
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:Refresh()

31
How do I call your x-script language


oDCOCX_Exontrol1:ExecuteTemplate("BackColor = RGB(255,0,0)")

30
How do I call your x-script language


oDCOCX_Exontrol1:Template := "BackColor = RGB(255,0,0)"

29
Can I change the font for the tooltip

local var_StdFont as stdFont

oDCOCX_Exontrol1:ToolTipDelay := 1
// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
var_StdFont := oDCOCX_Exontrol1:ToolTipFont
	var_StdFont:Name := "Tahoma"
	var_StdFont:Size := 14
oDCOCX_Exontrol1:ToolTipWidth := 364
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:Refresh()

28
I've seen that the width of the tooltip is variable. Can I make it larger


oDCOCX_Exontrol1:ToolTipWidth := 328
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:Refresh()

27
How do I let the tooltip being displayed longer


oDCOCX_Exontrol1:ToolTipPopDelay := 10000
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:Refresh()

26
How do I disable showing the tooltip for all control

oDCOCX_Exontrol1:ToolTipDelay := 0
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:Refresh()

25
How do I show the tooltip quicker


oDCOCX_Exontrol1:ToolTipDelay := 1
oDCOCX_Exontrol1:AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit",nil)
oDCOCX_Exontrol1:Refresh()

24
Can I change the order of the buttons in the scroll bar


oDCOCX_Exontrol1:[ScrollOrderParts,exHScroll] := "t,l,r"
oDCOCX_Exontrol1:[ScrollOrderParts,exVScroll] := "t,l,r"

23
The thumb size seems to be very small. Can I make it bigger


oDCOCX_Exontrol1:[ScrollThumbSize,exHScroll] := 164

22
How do I enlarge or change the size of the control's scrollbars


oDCOCX_Exontrol1:ScrollHeight := 18
oDCOCX_Exontrol1:ScrollWidth := 18
oDCOCX_Exontrol1:ScrollButtonWidth := 18
oDCOCX_Exontrol1:ScrollButtonHeight := 18

21
How can I display my text on the scroll bar, using a different font


oDCOCX_Exontrol1:[ScrollPartCaption,exHScroll,exThumbPart] := "This is just a text"
oDCOCX_Exontrol1:[ScrollFont,exHScroll]:Size := 12
oDCOCX_Exontrol1:[ScrollThumbSize,exHScroll] := 128
oDCOCX_Exontrol1:ScrollHeight := 24
oDCOCX_Exontrol1:[ScrollPartCaption,exHScroll,exThumbPart] := "This is <s><font Tahoma;12> just </font></s> text"
oDCOCX_Exontrol1:ScrollHeight := 20

20
How can I display my text on the scroll bar


oDCOCX_Exontrol1:[ScrollPartCaption,exHScroll,exThumbPart] := "this is just a text"
oDCOCX_Exontrol1:[ScrollThumbSize,exHScroll] := 96

19
How do I assign a tooltip to a scrollbar


oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:[ScrollToolTip,exHScroll] := "This is a <img>0x1000000</img>tooltip being shown when you click and drag the thumb in the horizontal scroll bar"

18
How do I assign an icon to the button in the scrollbar


oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:[ScrollPartVisible,exHScroll,exLeftB1Part] := true
oDCOCX_Exontrol1:[ScrollPartCaption,exHScroll,exLeftB1Part] := "<img>1</img>"
oDCOCX_Exontrol1:ScrollHeight := 18
oDCOCX_Exontrol1:ScrollButtonWidth := 18

17
I need to add a button in the scroll bar. Is this possible


oDCOCX_Exontrol1:[ScrollPartVisible,exHScroll,exLeftB1Part] := true
oDCOCX_Exontrol1:[ScrollPartCaption,exHScroll,exLeftB1Part] := "1"

16
Can I display an additional buttons in the scroll bar


oDCOCX_Exontrol1:[ScrollPartVisible,exHScroll,exLeftB1Part] := true
oDCOCX_Exontrol1:[ScrollPartVisible,exHScroll,exLeftB2Part] := true
oDCOCX_Exontrol1:[ScrollPartVisible,exHScroll,exRightB6Part] := true
oDCOCX_Exontrol1:[ScrollPartVisible,exHScroll,exRightB5Part] := true

15
How do I change the control's foreground color


oDCOCX_Exontrol1:ForeColor := RGB(255,0,0)

14
How do I change the control's background color


oDCOCX_Exontrol1:BackColor := RGB(200,200,200)

13
How can I change the control's font


oDCOCX_Exontrol1:Font:Name := "Verdana"

12
How do I put a picture on the center of the control


// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:PictureDisplay := exMiddleCenter

11
How do I resize/stretch a picture on the control's background


// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:PictureDisplay := exStretch

10
How do I put a picture on the control's center right bottom side


// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:PictureDisplay := exLowerRight

9
How do I put a picture on the control's center left bottom side


// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:PictureDisplay := exLowerLeft

8
How do I put a picture on the control's center top side


// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:PictureDisplay := exUpperCenter

7
How do I put a picture on the control's right top corner


// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:PictureDisplay := exUpperRight

6
How do I put a picture on the control's left top corner


// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:PictureDisplay := exUpperLeft

5
How do I put a picture on the control's background


// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")

4
How do I change the control's border, using your EBN files


oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:Appearance := 0x1000000 | 

3
How do I remove the control's border


oDCOCX_Exontrol1:Appearance := exNone

2
How can I add a line


oDCOCX_Exontrol1:InsertText(" - insert the line as the last - \r\n",nil)

1
How can I insert a line


oDCOCX_Exontrol1:InsertText(" - insert the line as the first - \r\n",1)